package com.ruoyi.production.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工作日报对象 report
 * 
 * @author admin
 * @date 2024-08-02
 */
public class Report extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日报表id */
    private Long reportId;

    /** 生产计划id,外键 */
    @Excel(name = "生产计划id,外键")
    private Long plansId;

    /** 设备表id,外键 */
    @Excel(name = "设备表id,外键")
    private Long shebeiId;

    /** 订单表id,外键 */
    @Excel(name = "订单表id,外键")
    private Long ordersId;


    /** 设备名称 */
    @Excel(name = "设备名称")
    private String sbName;

    /** 加工件名称 */
    @Excel(name = "加工件名称")
    private String gjName;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String cpName;

    /** 工作内容和需求 */
    @Excel(name = "工作内容和需求")
    private String jobContent;

    /** 工时给定 */
    @Excel(name = "工时给定")
    private String timeSetting;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String ygName;

    /** 工时实际完成时间 */
    @Excel(name = "工时实际完成时间")
    private String actuallyFinish;

    /** 工作进度 */
    @Excel(name = "工作进度")
    private String gzSchedule;

    /** 已完成数量 */
    @Excel(name = "已完成数量")
    private Long quantityCompleted;

    /** 问题说明 */
    @Excel(name = "问题说明")
    private String wtStatement;

    /** 质量 */
    @Excel(name = "质量")
    private String quality;

    /** 工长确认实际工时 */
    @Excel(name = "工长确认实际工时")
    private String querenTime;

    /** 填表日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "填表日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date statementDate;


    /** 产品数量 */
    @Excel(name = "产品数量")
    private Long scSum;

    /** 工作进度 */
    @Excel(name = "工作进度")
    private String gzSchedulePercentage;


    /** 年 */
    @Excel(name = "年")
    private Long   ProductionYear;

    /** 月 */
    @Excel(name = "月")
    private Long   ProductionMonth;


    /** 数量 */
    @Excel(name = "数量")
    private Long TotalProduction;

    public Long getProductionYear() {
        return ProductionYear;
    }

    public void setProductionYear(Long productionYear) {
        ProductionYear = productionYear;
    }

    public Long getProductionMonth() {
        return ProductionMonth;
    }

    public void setProductionMonth(Long productionMonth) {
        ProductionMonth = productionMonth;
    }

    public Long getTotalProduction() {
        return TotalProduction;
    }

    public void setTotalProduction(Long totalProduction) {
        TotalProduction = totalProduction;
    }

    public void setReportId(Long reportId)
    {
        this.reportId = reportId;
    }

    public Long getReportId() 
    {
        return reportId;
    }
    public void setPlansId(Long plansId) 
    {
        this.plansId = plansId;
    }

    public Long getPlansId() 
    {
        return plansId;
    }
    public void setShebeiId(Long shebeiId) 
    {
        this.shebeiId = shebeiId;
    }

    public Long getShebeiId() 
    {
        return shebeiId;
    }
    public void setSbName(String sbName) 
    {
        this.sbName = sbName;
    }

    public String getSbName() 
    {
        return sbName;
    }
    public void setGjName(String gjName) 
    {
        this.gjName = gjName;
    }

    public String getGjName() 
    {
        return gjName;
    }
    public void setJobContent(String jobContent) 
    {
        this.jobContent = jobContent;
    }

    public String getJobContent() 
    {
        return jobContent;
    }
    public void setTimeSetting(String timeSetting) 
    {
        this.timeSetting = timeSetting;
    }

    public String getTimeSetting() 
    {
        return timeSetting;
    }
    public void setYgName(String ygName) 
    {
        this.ygName = ygName;
    }

    public String getYgName() 
    {
        return ygName;
    }
    public void setActuallyFinish(String actuallyFinish) 
    {
        this.actuallyFinish = actuallyFinish;
    }

    public String getActuallyFinish() 
    {
        return actuallyFinish;
    }
    public void setGzSchedule(String gzSchedule) 
    {
        this.gzSchedule = gzSchedule;
    }

    public String getGzSchedule() 
    {
        return gzSchedule;
    }
    public void setQuantityCompleted(Long quantityCompleted) 
    {
        this.quantityCompleted = quantityCompleted;
    }

    public Long getQuantityCompleted() 
    {
        return quantityCompleted;
    }
    public void setWtStatement(String wtStatement) 
    {
        this.wtStatement = wtStatement;
    }

    public String getWtStatement() 
    {
        return wtStatement;
    }
    public void setQuality(String quality) 
    {
        this.quality = quality;
    }

    public String getQuality() 
    {
        return quality;
    }
    public void setQuerenTime(String querenTime) 
    {
        this.querenTime = querenTime;
    }

    public String getQuerenTime() 
    {
        return querenTime;
    }
    public void setStatementDate(Date statementDate) 
    {
        this.statementDate = statementDate;
    }

    public Date getStatementDate() 
    {
        return statementDate;
    }

    public Long getOrdersId() {
        return ordersId;
    }

    public void setOrdersId(Long ordersId) {
        this.ordersId = ordersId;
    }

    public void setScSum(Long scSum)
    {
        this.scSum = scSum;
    }

    public Long getScSum()
    {
        return scSum;
    }


    public String getGzSchedulePercentage() {
        return gzSchedulePercentage;
    }

    public void setGzSchedulePercentage(String gzSchedulePercentage) {
        this.gzSchedulePercentage = gzSchedulePercentage;
    }

    public String getCpName() {
        return cpName;
    }

    public void setCpName(String cpName) {
        this.cpName = cpName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reportId", getReportId())
            .append("plansId", getPlansId())
            .append("shebeiId", getShebeiId())
            .append("ordersId",getOrdersId())
            .append("sbName", getSbName())
            .append("gjName", getGjName())
            .append("jobContent", getJobContent())
            .append("timeSetting", getTimeSetting())
            .append("ygName", getYgName())
            .append("actuallyFinish", getActuallyFinish())
            .append("gzSchedule", getGzSchedule())
            .append("quantityCompleted", getQuantityCompleted())
            .append("wtStatement", getWtStatement())
            .append("quality", getQuality())
            .append("querenTime", getQuerenTime())
            .append("remark", getRemark())
            .append("statementDate", getStatementDate())
            .append("scSum", getScSum())
            .append("gzSchedulePercentage", getGzSchedulePercentage())
            .append("cpName", getCpName())
                .append("ProductionYear",getProductionYear())
                .append("ProductionMonth",getProductionMonth())
                .append("TotalProduction",getTotalProduction())
            .toString();
    }
}
